package com.huangfuyi.process.entity.monitor;

import com.huangfuyi.process.actuator.enums.EPMonitorThreadStatus;

public class EPMonitorInfo<T> {

    private boolean success;

    private String message;

    private T data;

    private EPMonitorThreadStatus status;

    private Long startTime;

    private Long maxRunKeepTime = 5 * 60 * 1000L;

    private Long endTime;

    private Long runInterval = 5 * 60 * 1000L;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public EPMonitorThreadStatus getStatus() {
        return status;
    }

    public void setStatus(EPMonitorThreadStatus status) {
        this.status = status;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getMaxRunKeepTime() {
        return maxRunKeepTime;
    }

    public void setMaxRunKeepTime(Long maxRunKeepTime) {
        this.maxRunKeepTime = maxRunKeepTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Long getRunInterval() {
        return runInterval;
    }

    public void setRunInterval(Long runInterval) {
        this.runInterval = runInterval;
    }
}
